﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Bornander.UI.ListItems
{
    public partial class ContextForm : Form
    {
        public ContextForm(string title,string date,string address,Bitmap iamge,string context)
        {
            InitializeComponent();
            Titlelabel.Text = title;
            Datelabel.Text = date;
            Addresslabel.Text = address;
            ContextBox.Text = context;
            pictureBox1.Image = iamge;
        }

        private void menuItem4_Click(object sender, EventArgs e)//评论
        {
            CommentForm cf = new CommentForm(Titlelabel.Text);
            cf.Show();
            
        }

        private void menuItem2_Click(object sender, EventArgs e)//返回
        {
            this.Dispose();
        }
    }
}